<form id='{$form.name}' name='{$form.name}'>
<div style="padding-left:25px;padding-right:40px;">
	<div class="form_header_panel">	
		<div class="action_panel"  style="width:230px;">
			<h3 style="padding:0px;">
					<a href="javascript:;" style="color:#666666;text-decoration:none;">{$form.title}</a>
			</h3> 
		</div>
		<div id="{$form.name}_search_panel" class="search_panel" style="width:400px;" >		
			{foreach item=elem from=$searchPanel}
				{if $elem.type!='InputDateRangePicker'}
					{if $elem.label} {$elem.label} {/if} {$elem.element}
				{/if}
			{/foreach}
		</div>
	</div>	
	<table  id="{$form.name}_data_panel"  border="0" cellpadding="0" cellspacing="0" id="{$form.name}_data_table">
		<tr>
			<td valign="top" style="border-right:1px solid #efefef">
				<div style="padding:5px;padding-left:0px;"><img  src="{$form.icon}" border="0" /></div>
			</td>
			<td valign="top" style="border-right:1px solid #efefef;padding:5px;line-height:24px;">
				{foreach item=elem from=$actionPanel}
				    	{$elem.element}<br/>
				{/foreach}
			</td>
			<td valign="top" style="padding:5px;line-height:24px;">
			{foreach item=row from=$dataPanel.data}
				<div>
				 {assign var=col_counter value=0}    
		         {foreach key=name item=cell key=cell_name from=$row}
		         	{if $col_counter eq 0}
		         		{assign var=col_class value=' class="row_header" '}    
		         	{else}
		         		{assign var=col_class value=' '}
		         	{/if}
		         	{if $cell_name != $row_style_name}
			                  	
			              <div {$col_class} style="{$row_style}" >{$cell}</div>
			           
		            {/if}
		            {assign var=col_counter value=$col_counter+1}
		         {/foreach}
		         {assign var=row_counter value=$row_counter+1}
				</div>
		     {/foreach}
				
			</td>
		</tr>
	</table>
</div>
</form>